package com.xingkeduo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xingkeduo.model.example.TMarketingReceiveHistoryCardExample;
import com.xingkeduo.model.po.TMarketingReceiveHistoryCard;
import com.xingkeduo.model.po.TMarketingReceiveHistoryCardWithBLOBs;

public interface TMarketingReceiveHistoryCardMapper {
    int countByExample(TMarketingReceiveHistoryCardExample example);

    int deleteByExample(TMarketingReceiveHistoryCardExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TMarketingReceiveHistoryCardWithBLOBs record);

    int insertSelective(TMarketingReceiveHistoryCardWithBLOBs record);

    List<TMarketingReceiveHistoryCardWithBLOBs> selectByExampleWithBLOBs(TMarketingReceiveHistoryCardExample example);

    List<TMarketingReceiveHistoryCard> selectByExample(TMarketingReceiveHistoryCardExample example);

    TMarketingReceiveHistoryCardWithBLOBs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TMarketingReceiveHistoryCardWithBLOBs record, @Param("example") TMarketingReceiveHistoryCardExample example);

    int updateByExampleWithBLOBs(@Param("record") TMarketingReceiveHistoryCardWithBLOBs record, @Param("example") TMarketingReceiveHistoryCardExample example);

    int updateByExample(@Param("record") TMarketingReceiveHistoryCard record, @Param("example") TMarketingReceiveHistoryCardExample example);

    int updateByPrimaryKeySelective(TMarketingReceiveHistoryCardWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TMarketingReceiveHistoryCardWithBLOBs record);

    int updateByPrimaryKey(TMarketingReceiveHistoryCard record);
}